﻿<Page x:Class="Resn.WhuPub.WPFClientUI.StartPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      Loaded="Page_Loaded" Style="{StaticResource PageStyle}">
        <Grid x:Name="LayoutRoot">
                <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="1" Grid.Row="1" Text="账号"  />
                <TextBox Grid.Column="2" Grid.Row="1" HorizontalAlignment="Left" Name="NameTextBox"/>
                
                <TextBlock Grid.Column="1" Grid.Row="2" Text="密码"  />
                <PasswordBox Grid.Column="2" Grid.Row="2" Name="PasswordTextBox"
                             Style="{StaticResource PasswordBoxStyle}" />
                <Button Content="进入系统" Grid.Column="2" Grid.Row="3" HorizontalAlignment="Right" Name="LoginButton"
                        VerticalAlignment="Center" Style="{StaticResource ButtonStyle}" Click="LoginButton_Click"
                        IsDefault="True" />
        </Grid>
</Page>